home *** CD-ROM | disk | FTP | other *** search
/ Ambrosia Times / AT_1.1_5.3_DOCMaker.sit / The Ambrosia Times 1.1.rsrc / TEXT_134.txt < prev    next >
Encoding:
Text File  |  1998-09-26  |  6.6 KB  |  45 lines

  1.  
  2. Sound File Customization
  3. by ‚ÄúCajun‚Äù David Richard
  4.  
  5. Have you ever wondered how to alter the sounds in Maelstrom or Chiral?  This little instruction sheet will guide you through the process.  Providing that you have the proper tools, you can be creating alternative sound files for Ambrosia‚Äôs entertainment programs immediately.
  6.  
  7. Maelstrom and Chiral are modular.  This means that the various aspects of the program (such as sounds and graphics) are kept in separate files.  With this format, it is relatively easy to swap different files for variety in your game playing.  In order to create your own sound files, you need two programs: ResEdit to replace the resources in the sound file, and a sound editing program such as SoundEdit.
  8.  
  9. New hi tech sound file for¬†
  10. the Maelstrom plasma cannon shots.
  11.  
  12. The first step is to make a copy of the sound file to work on.  ResEdit is a powerful little program that gives you access to the resources of a file.  Resources are not usually accessible in such an open format, so some mistakes can be permanent.  By working on a copy of the original, you can be sure that any mistakes will not be fatal.
  13.  
  14. Next, in ResEdit open the copy of the sound file that you have just made.  You will see a window with two resource icons, one will be a ‚Äúsnd‚Äù resource, the other is a ‚Äúvers‚Äù resource.  We are interested in the ‚Äúsnd‚Äù resource.  By double clicking on the ‚Äúsnd‚Äù resource icon, you will be prompted with a list of all the ‚Äúsnd‚Äù resources in that particular file.  The resources are identified by an ID number, and a name.  The name is there for the programmer‚Äôs reference, and is not used by the program itself to find the resources.  So what we are interested in is the ID number.
  15.  
  16. From the list of ID numbers, you should make some notes on which sounds you would like to replace.  Be sure to write down the ID numbers of the sounds that you want to change carefully.  This is very important, if the program cannot find all of its sounds, it will not run. You can sample the sounds by highlighting a particular sound and choosing ‚ÄúTry Sound‚Äù from the ‚Äúsnd‚Äù menu.  When you have found the sounds that you wish to replace, close the windows that are open, and quit ResEdit.  If you are prompted to save the changes, choose ‚ÄúDon‚Äôt Save‚Äù or ‚ÄúNo.‚Äù  Saving changes at this point is not necessary.
  17.  
  18. Now you need to find your own sounds.  How you get them is usually unimportant, but keep in mind that the larger the sound file becomes, the more RAM you will need to run the program.  Most online services have a vast selection of uploaded sounds to choose from. Simply search on ‚Äúsound.‚Äù You can record sounds from audio CD‚Äôs, CD-ROM‚Äôs, the radio, even create your own sounds through a microphone.   After you gather your sounds, you will want to match them up with the sounds you want to replace.
  19.  
  20. First open each sound in your sound editing program.  The main concern here is that there are a variety of formats that sounds can be saved as.  Depending on the source, your sounds can be in several different formats.  What needs to be done now is to change the format of all the sounds to the format that the program will accept.  Maelstrom and Chiral only accept sounds that have an 11kHz sampling rate, are mono, and are uncompressed.  Check the manual of your sound editing program for the procedure of changing the sound format.  You can also edit the sounds at this point (shorten, fade, echo, flanger, etc.).
  21.  
  22. Once you have all of your sounds in the correct format and edited to your preference, you can begin to replace them.  There are several ways to do this, I will describe the most basic and generic method.  With all of the different sound editing programs out there, there are several options available to move sounds from the editing program to ResEdit, or even the file itself.  There may be alternative, and even easier ways of replacing sounds that more experienced users may wish to experiment with.
  23.  
  24. Most sound editing programs have a waveform or spectral display.  The best way to move sounds is simply to copy and paste.  With the waveform or spectral display window open, choose ‚ÄúSelect All‚Äù and then ‚ÄúCopy‚Äù from the Edit menu.  This will copy the sound to the clipboard.  From here you can move to ResEdit.
  25.  
  26. Open the copy of the sound file in ResEdit.  Double-click on the ‚Äúsnd ‚Äù resource icon to open the list of sounds.  By selecting ‚ÄúPaste‚Äù from the Edit menu, a new resource will be created containing the data for the new sound.  This resource will have a new ID number, and no name.  In order to replace the sound and set the ID number, you must first select the original sound and hit the delete key.  Then, select your new sound. By choosing ‚ÄúGet Resource Info‚Äù from the Resource menu, you will be prompted with a window where you can set certain attributes of the resource.  The most important piece of information that needs to be changed is the ID number.  Type in the ID number of the original sound that you just deleted.  At this point, you should be all set.  If you wish to add a name for you reference, feel free.  Do not change anything else in this window.  Remember, ResEdit is a powerful program, mistakes can easily be made.  Close the window, and SAVE YOUR CHANGES!
  27.  
  28. You have now successfully replaced a sound.  Repeat this process for each of the other sounds you wish to replace, and remember to save as you go.
  29.  
  30. The last thing to do, after all the sounds are replaced, is to rename your new sound file ‚ÄúMaelstrom Sounds‚Äù or ‚ÄúChiral Sounds.‚Äù  The respective programs will not run if the names are not named as such, and the file is not in the folder with the rest of the files.  Move the original file out of the game folder, or rename it something like ‚ÄúOld Sounds,‚Äù and bring in the new sound file.
  31.  
  32. You can now run the program and see if you were successful.  If all of the ID numbers were preserved, and the sounds are in the right format, then your game should sport a brand new set of sounds.  If not, and the program has problems running, then go back and double check your steps, you may have missed something.
  33.  
  34. Keep in mind that these steps are specific to Maelstrom and Chiral, and may not transfer to other programs of similar format.  If you have any questions, I am available on-line at AmbrosiaSW, or you can drop a message to me on our message board in the Ambrosia Software forum.
  35.  
  36. Good luck, and Happy Gaming !
  37.  
  38. "Cajun" David Richard
  39. Technical Services Manager
  40. Ambrosia Software, Inc.
  41. AOL: AmbrosiaSW
  42.                                            
  43.   
  44.  
  45.